package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by Hyy on 2017/2/20.
 */

public class MyMsgDataBean {

    /**
     * pageInfo : {"curPage":1,"pageSize":10,"totalRow":0,"totalPage":1}
     * messageVOList : [{"id":378,"messageTitle":"test2","messageInfo":"test2","type":null,"delFlag":0,"createTime":1483867651000,"modifyTime":1483867654000,"state":0,"createTimeFormat":"2017-01-08 17:27"},{"id":377,"messageTitle":"test1","messageInfo":"test1","type":null,"delFlag":0,"createTime":1483867635000,"modifyTime":1483867638000,"state":0,"createTimeFormat":"2017-01-08 17:27"},{"id":376,"messageTitle":"test","messageInfo":"test","type":null,"delFlag":0,"createTime":1483867588000,"modifyTime":1483867591000,"state":0,"createTimeFormat":"2017-01-08 17:26"}]
     */

    private PageInfoBean pageInfo;
    private List<MessageVOListBean> messageVOList;

    public PageInfoBean getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfoBean pageInfo) {
        this.pageInfo = pageInfo;
    }

    public List<MessageVOListBean> getMessageVOList() {
        return messageVOList;
    }

    public void setMessageVOList(List<MessageVOListBean> messageVOList) {
        this.messageVOList = messageVOList;
    }

    public static class PageInfoBean {
        /**
         * curPage : 1
         * pageSize : 10
         * totalRow : 0
         * totalPage : 1
         */

        private int curPage;
        private int pageSize;
        private int totalRow;
        private int totalPage;

        public int getCurPage() {
            return curPage;
        }

        public void setCurPage(int curPage) {
            this.curPage = curPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }
    }

    public static class MessageVOListBean {
        /**
         * id : 378
         * messageTitle : test2
         * messageInfo : test2
         * type : null
         * delFlag : 0
         * createTime : 1483867651000
         * modifyTime : 1483867654000
         * state : 0 (0 未读，1 已读)
         * createTimeFormat : 2017-01-08 17:27
         */

        private int id;
        private String messageTitle;
        private String messageInfo;
        private Object type;
        private int delFlag;
        private int state;
        private String createTimeFormat;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMessageTitle() {
            return messageTitle;
        }

        public void setMessageTitle(String messageTitle) {
            this.messageTitle = messageTitle;
        }

        public String getMessageInfo() {
            return messageInfo;
        }

        public void setMessageInfo(String messageInfo) {
            this.messageInfo = messageInfo;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }


        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getCreateTimeFormat() {
            return createTimeFormat;
        }

        public void setCreateTimeFormat(String createTimeFormat) {
            this.createTimeFormat = createTimeFormat;
        }
    }
}
